package com.youlai.boot.bmp.converter;

import org.mapstruct.Mapper;
import com.youlai.boot.bmp.model.entity.ProcessCategory;
import com.youlai.boot.bmp.model.form.ProcessCategoryForm;

/**
 * 流程分类对象转换器
 *
 * @author rabit
 * @since 2025-10-22 21:32
 */
@Mapper(componentModel = "spring")
public interface ProcessCategoryConverter{

    ProcessCategoryForm toForm(ProcessCategory entity);

    ProcessCategory toEntity(ProcessCategoryForm formData);
}
